package com.jelly.web.modules.staff.user.domain;

import com.jelly.common.web.tree.Tree;
import com.jelly.web.modules.system.permission.domain.Permission;
import com.jelly.web.modules.system.role.domain.Role;

import java.util.List;

public class UserAndRoleAndPermission extends User {

    private String deptName;

    private List<Role> roleList;

    private List<Permission> permissionList;

    private  List<Tree<Role>> roleTree;

    public List<Tree<Role>> getRoleTree() {
        return roleTree;
    }

    public void setRoleTree(List<Tree<Role>> roleTree) {
        this.roleTree = roleTree;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public List<Role> getRoleList() {
        return roleList;
    }

    public void setRoleList(List<Role> roleList) {
        this.roleList = roleList;
    }

    public List<Permission> getPermissionList() {
        return permissionList;
    }

    public void setPermissionList(List<Permission> permissionList) {
        this.permissionList = permissionList;
    }
}
